package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.DaoEcologyPointsDetailAmountTypeEnum;
import com.sc.nft.enums.DaoEcologyPointsDetailRecordsTypeEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * DAO-生态燃料余额变动记录表(sc_dao_ecology_points_detail)实体类
 *
 * @author Sun
 * @since 2023-12-06 18:45:44
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_dao_ecology_points_detail")
public class DaoEcologyPointsDetail extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * daoId
     */
    private Long daoId;
    /**
     * 燃料类型 : 1:可用燃料 2:待释放燃料
     */
    private DaoEcologyPointsDetailAmountTypeEnum amountType;
    /**
     * 记录类型
     */
    private DaoEcologyPointsDetailRecordsTypeEnum type;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 实际金额
     */
    private BigDecimal realAmount;
    /**
     * 交易前余额
     */
    private BigDecimal beforeBalance;
    /**
     * 交易后余额
     */
    private BigDecimal afterBalance;
    /**
     * 是否是加 0:否 1:是
     */
    private Boolean isAdd;
    /**
     * 备注
     */
    private String remark;
    /**
     * 结算时间
     */
    private Date settleTime;
    /**
     * 目标手机号
     */
    private String toUserTel;
    /**
     * 目标手机号
     */
    private Long toUserId;
}